Skip to content

Instantly share code, notes, and snippets.

╭─── Claude Code v2.1.12 ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ │ Tips for getting started │
│ Welcome back Jonny! │ Run /init to create a CLAUDE.md file with instructions for Claude │
│ │ │
│ │ ───────────────────────────────────────────────────────────────── │
│ ▐▛███▜▌ │ Recent activity
@EverythingSmartHome
EverythingSmartHome / All open windows and doors
Last active January 22, 2026 09:21
A collection of useful templates for Home Assistant dashboards
{{ states.binary_sensor
| selectattr('attributes.device_class', 'in', ['door','window'])
| selectattr('state', 'equalto', 'on')
| list | count }}
@djravine
djravine / setup_local_xrdp_ubuntu_18.04.sh
Last active January 22, 2026 09:19
Setup Local xRDP on Ubuntu 18.04
#!/bin/bash
set -xuo pipefail
# GIST: https://gist.github.com/djravine/88f2b9957a0bef6a6dd4c55aca951a09
# USAGE: curl -sL https://gist.github.com/djravine/88f2b9957a0bef6a6dd4c55aca951a09/raw | bash -s --
# INSTALL SOFTWARE
sudo apt-get update
sudo apt-get install -y \
ubuntu-desktop \
Product Year Version Product Keys
Visual Studio 2022 2021 17.x Professional:
TD244-P4NB7-YQ6XK-Y8MMM-YWV2J
Enterprise:
VHF9H-NXBBB-638P6-6JHCY-88JWH
Visual Studio 2019 2019 16.x Professional:
NYWVH-HT4XC-R2WYW-9Y3CM-X4V3Y
Enterprise:
@andypiper
andypiper / set-transparency.md
Created October 20, 2024 18:05
Set transparency in Ptyxis (GNOME Terminal) in Fedora 41

Get the UUID of the default profile

Substitute that value in to the second command to enable transparency level

$ dconf read /org/gnome/Ptyxis/default-profile-uuid
'3aae5a177777aa966b1fd63467153e2d'
$ dconf write /org/gnome/Ptyxis/Profiles/3aae5a177777aa966b1fd63467153e2d/opacity 0.85
@s1as3r
s1as3r / bezier.c
Last active January 22, 2026 09:07
cubic bezier curves thingy in raylib
// clang-format off
// cubic bezier curves thingy in raylib
// gcc -Og -std=c11 -o bezier ./bezier.c -lraylib -lm -lpthread -ldl -lX11 -lGL -lrt
#include <stdbool.h>
#include <stdint.h>
#include <raylib.h>
// clang-format on
#define global static
'use client';
import * as React from 'react';
import { Box } from '@mui/material';
export default function NewComponent() {
return <Box>
NewComponent
</Box>
;
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active January 22, 2026 09:04
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.

How to use this script:

  1. Accept a quest under Discover -> Quests
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter:
@hackermondev
hackermondev / research.md
Last active January 22, 2026 09:03
Unique 0-click deanonymization attack targeting Signal, Discord and hundreds of platform

hi, i'm daniel. i'm a 15-year-old high school junior. in my free time, i hack billion dollar companies and build cool stuff.

3 months ago, I discovered a unique 0-click deanonymization attack that allows an attacker to grab the location of any target within a 250 mile radius. With a vulnerable app installed on a target's phone (or as a background application on their laptop), an attacker can send a malicious payload and deanonymize you within seconds--and you wouldn't even know.

I'm publishing this writeup and research as a warning, especially for journalists, activists, and hackers, about this type of undetectable attack. Hundreds of applications are vulnerable, including some of the most popular apps in the world: Signal, Discord, Twitter/X, and others. Here's how it works:

Cloudflare

By the numbers, Cloudflare is easily the most popular CDN on the market. It beats out competitors such as Sucuri, Amazon CloudFront, Akamai, and Fastly. In 2019, a major Cloudflare outage k

Async Combinator API Recommendations

This document outlines proposed additions to Capy's async combinator API, building on the existing when_all() implementation.

Design Philosophy

Capy embraces C++20 coroutines, which provide natural sequential composition through co_await and error handling through try/catch. Therefore, we focus on combinators that solve concurrency patterns that are awkward or error-prone to implement manually, rather than monadic chaining operators (then, and_then, or_else) that duplicate what coroutines already provide elegantly.

Recommended APIs